go top

Global interpreter lock

  • 全局解释器锁

网络释义英英释义

  全局解释器锁

线程不能利用多CPU问题,这是Python被人诟病最多的一个缺点,GIL即全局解释器锁Global Interpreter Lock),是计算机程序设计语言解释器用于同步线程的工具,使得任何时刻仅有一个线程在执行,Python的线程是操作系统的原生线程。

基于158个网页-相关网页

短语

The Global Interpreter Lock 获取全局解释器锁

Global Interpreter Lock

  • abstract: A Global Interpreter Lock (GIL) is a mutual exclusion lock held by a programming language interpreter thread to avoid sharing code that is not thread-safe with other threads. In languages with a GIL, there is always one GIL for each interpreter process.

以上来源于: WordNet

双语例句

  • The global interpreter lock" is per-interpreter as its name implies, not per process;"

    全球口译每口译,顾名思义,不是每个进程;

    youdao

  • The global interpreter lock is used to protect the pointer to the current thread state.

    全局解释器用于保护当前线程状态指针

    youdao

  • The reason is the Global Interpreter Lock (GIL), sometimes referred to as Global VM Lock (GVL).

    就是全局解释GIL),有时候也叫做全局VM锁(GVL)。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定